package com.sdl.timesblogmp.service;

import com.sdl.timesblogmp.model.entity.Admin;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sdl.timesblogmp.model.vo.LoginUser;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author sdl
 * @since 2020-05-11
 */
public interface AdminService extends IService<Admin> {
   Admin findAdminByName(String userName);
   String AdminLogin(LoginUser loginUser);
   int updateAdmin(Admin admin);
   int updatepwd(Integer id,String oldPwd,String newPwd);
}
